package com.alibaba.citrus.cr.sales.plan.api.statistics;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.DeleteSalesPlanCustomerStatRequest;
import com.alibaba.citrus.cr.sales.plan.sdo.SalesPlanStatCustomerSDO;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;

/**
 * @author yuhailin
 * @description:
 * @date 2021-09-27 10:26
 */
@MeshFlowService(apps = {"bc_order"}, name = "salesPlanCustomerStatWriteService")
public interface SalesPlanCustomerStatWriteService {
    /**
     * 创建计划客户
     * @param salesPlanCustomerStatSDO
     * @return
     */
    Result<String> createPlanCustomer(SalesPlanStatCustomerSDO salesPlanCustomerStatSDO);

    /**
     * 客户维度删除
     * @param deleteSalesPlanCustomerStatRequest
     * @return DeleteSalesPlanLine
     */
    Result<Boolean> deletePlanCustomer(DeleteSalesPlanCustomerStatRequest deleteSalesPlanCustomerStatRequest);
}
